import type { PageParams } from "@/types/global"
import type { HotResult } from "@/types/hot"
import { http } from "@/utils/http"


type param = PageParams & { subType?: string }
export const getHotRecommend = (url: string, data?: param) => {
  return http<HotResult>({
    method: 'GET',
    url,
    data
  })
}
